package com.spring.sperapc.web.dao;

import com.spring.sperapc.web.model.Baby;
import com.spring.sperapc.web.model.Family;

import org.apache.ibatis.annotations.Param;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

public interface FamilyMapper {
    int deleteByPrimaryKey(@Param(value="id") String id);

    int insertSelective(Family record);

    Family selectByPrimaryKey(Map m);

    int updateByPrimaryKeySelective(Family record);
    
    List<Baby> getBabyByParent(String c_user_id);
    List<HashMap> getRoleList();
}